﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WF.DAL;

namespace WF.Model
{
    public class NonAuthFilterUrlEntity : EntityBase<NonAuthFilterUrl>
    {
        #region 构造函数

        public NonAuthFilterUrlEntity() : base() { }
        public NonAuthFilterUrlEntity(NonAuthFilterUrl NonAuthFilterUrl) : base(NonAuthFilterUrl) { }
        #endregion

        #region 实现基类abstract属性

        public override string ID
        {
            get { return DbEntity.ID; }
            set { DbEntity.ID = value; this.SendPropertyChanged("ID"); }
        }

        public override string DisplayName
        {
            get { return DbEntity.ID; }
        }

        #endregion

        #region Public 属性

        public string Url
        {
            get
            {
                return DbEntity.Url;
            }
            set
            {
                DbEntity.Url = value; this.SendPropertyChanged("Url");
            }
        }

        public short FlagDeleted
        {
            get
            {
                return DbEntity.FlagDeleted;
            }
            set
            {
                DbEntity.FlagDeleted = value; this.SendPropertyChanged("FlagDeleted");
            }
        }
        #endregion
    }
}
